package com.gitee.wsl.mathematics.geometry.d2.poly.polyline


import com.gitee.wsl.io.dataproxy.asProxy
import com.gitee.wsl.mathematics.geometry.d2.AbstractShape
import com.gitee.wsl.mathematics.geometry.d2.contour.ShapeContour
import com.gitee.wsl.mathematics.geometry.d2.line.Line

import com.gitee.wsl.mathematics.vector.vec2.Vec2f

class Polyline(points:MutableList<Vec2f> = mutableListOf()) :
    AbstractShape( points.asProxy() ), PolylineShape2d<Float, Vec2f>,MutableList<Vec2f> by points{

    override fun createLine(a: Vec2f, b: Vec2f) = Line(a,b)

}